//
//  BaseParameterModel.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/10/11.
//

import UIKit

import ObjectMapper
class BaseParameterModel: Mappable {
    var code : String?
    var data : ParameterDataModel?
    var msg : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}

class ParameterDataModel: Mappable {
    var currencySign : String?//货币符号
    var mileageUnit : String?//里程单位
    var iOS_version : String?//版本号
    var carOwnerPicture: String?//车主会
    var serverPicture: String?//服务
    var recyclePicture: String?//报价
    var emergencyPicture: String?//紧急支援
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        currencySign <- map["currencySign"]
        mileageUnit <- map["mileageUnit"]
        iOS_version <- map["iOS_version"]
        carOwnerPicture <- map["carOwnerPicture"]
        serverPicture <- map["serverPicture"]
        recyclePicture <- map["recyclePicture"]
        emergencyPicture <- map["emergencyPicture"]
    }
}
